﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;

public partial class SanPham : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        DataTable dt = new DataTable();        
        string sql = string.Format(@"
                                    SELECT TenHang
                                    FROM hangxe
                                    ");
        dt = DataBase.GetDataTable(sql);
        GridView1.DataSource = dt;
        GridView1.DataBind(); 
    }
}
